package com.sponsorpay.sdk.android.utils;

import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import java.util.List;

public class IntentHelper
{
  public static boolean isIntentAvailable(Context paramContext, String paramString, Uri paramUri)
  {
    PackageManager localPackageManager = paramContext.getPackageManager();
    Intent localIntent = new Intent(paramString);
    if (paramUri != null)
      localIntent.setData(paramUri);
    return localPackageManager.queryIntentActivities(localIntent, 65536).size() > 0;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.sponsorpay.sdk.android.utils.IntentHelper
 * JD-Core Version:    0.6.2
 */